package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheim.client.pojo.Address;
import com.itheim.client.vo.AddressVo;

import java.util.List;

/**
 * @Author longbosheng
 * @Date 2022/6/21 9:22
 * @PackageName:com.itheima.service
 * @ClassName: AddressService
 * @Description: TODO
 * @Version 1.0
 */
public interface AddressService extends IService<Address>{
    List<AddressVo> AddressList(String id);

    AddressVo AddressInfo(String id);

    int updateAddress(Address address);

    AddressVo getDefaultAddress(String id);

    int setDefaultAddress(Address address);

    int updateDefaultAddress(Address defult);

    Address getDefault(String id);
}
